<template>
  <div id="userLayout" :class="['user-layout-wrapper']">
    <div class="container">

      <div style="position: absolute;top: 50%;left: 50%;width: 550px;height: 350px;transform: translate(-50%, -50%);background: #fff;">
        <div style="padding: 35px;font-size: 20px;font-weight: 600;">
          <p>你好</p>
          <p>欢迎登录<span style="color: #1890ff;padding-left: 8px;">承德旅游</span></p>
        </div>
        <div style="display: flex;align-items: center;justify-content: space-between;width: 50%;margin: 20px auto 0 auto;">
          <div>
            <p><img src="../../assets/img/icon_dianzi_sbk.png" width="80"></p>
            <p style="text-align: center;padding-top: 8px;font-size: 16px;font-weight: 600;">电子社保卡</p>
          </div>
          <div>
            <p><img src="../../assets/img/icon_mima.png" width="80"></p>
            <p style="text-align: center;padding-top: 8px;font-size: 16px;font-weight: 600;">密码登录</p>
          </div>
        </div>
      </div>

      <div class="main"></div>

      <div class="footer">
<!--        <div class="copyright">Copyright &copy; 2020 {{ copyright }}</div>-->
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      logo: require("../../assets/img/logo.png")
    };
  },
  computed: {},
  mounted() {},
  methods: {}
};
</script>

<style lang="less" scoped>
#userLayout.user-layout-wrapper {
  height: 100%;

  &.mobile {
    .container {
      .main {
        max-width: 368px;
        width: 98%;
      }
    }
  }

  .container {
    width: 100%;
    min-height: 100%;
    background: #f0f2f5 url(~@/assets/img/background.svg) no-repeat 50%;
    background-size: 100%;
    padding: 110px 0 144px;
    position: relative;

    a {
      text-decoration: none;
    }

    .top {
      text-align: center;

      .header {
        height: 44px;
        line-height: 44px;

        .badge {
          position: absolute;
          display: inline-block;
          line-height: 1;
          vertical-align: middle;
          margin-left: -12px;
          margin-top: -10px;
          opacity: 0.8;
        }

        .logo {
          height: 44px;
          vertical-align: top;
          margin-right: 16px;
          border-style: none;
        }

        .title {
          font-size: 33px;
          color: rgba(0, 0, 0, 0.85);
          font-family: Avenir, "Helvetica Neue", Arial, Helvetica, sans-serif;
          font-weight: 600;
          position: relative;
          top: 2px;
        }
      }

      .desc {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.45);
        margin-top: 12px;
        margin-bottom: 40px;
      }
    }

    .main {
      min-width: 260px;
      width: 368px;
      margin: 0 auto;
    }

    .footer {
      position: absolute;
      width: 100%;
      bottom: 0;
      padding: 0 16px;
      margin: 48px 0 24px;
      text-align: center;

      .links {
        margin-bottom: 8px;
        font-size: 14px;

        a {
          color: rgba(0, 0, 0, 0.45);
          transition: all 0.3s;

          &:not(:last-child) {
            margin-right: 40px;
          }
        }
      }

      .copyright {
        color: rgba(0, 0, 0, 0.45);
        font-size: 14px;
      }
    }
  }
}

.user-layout-login {
  label {
    font-size: 14px;
  }

  .getCaptcha {
    display: block;
    width: 100%;
    height: 40px;
  }

  .forge-password {
    font-size: 14px;
  }

  button.login-button {
    padding: 0 15px;
    font-size: 16px;
    height: 40px;
    width: 100%;
  }

  .user-login-other {
    text-align: left;
    margin-top: 24px;
    line-height: 22px;

    .item-icon {
      font-size: 24px;
      color: rgba(0, 0, 0, 0.2);
      margin-left: 16px;
      vertical-align: middle;
      cursor: pointer;
      transition: color 0.3s;

      &:hover {
        color: #1890ff;
      }
    }

    .register {
      float: right;
    }
  }
}
</style>
